<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
*{
	margin:auto;
	}
      #div1{
		  background-color:red;
		  width:700px;
		  height:200px;
		  float:none;
		  margin-bottom:10px;
	  }
	  #div2{
		  background-color:blue;
		  width:195px;
		  height:200px;
		  float:left;
		  margin-right:5px;
		
	  }
	  	    #div5{
		  background-color:green;
		  width:295px;
		  height:200px;
		  float:left;
		  margin-right:5px;
		  
		   
	  }
	  

	  #div3{
		  background-color:yellow;
		  width:200px;
		  height:200px;
		  float:left;
		  
		  
		
	  }
	  #div4{
		  background-color:black;
		  width:700px;
		  height:150px;
		  float:left;
		  margin-top:10px;
	  }
	
	  #father{
		  width:700px;
		  
	  }
</style>
</head>

<body>
<div id="father">
     <div id="div1">我不动</div>
     <div id="div2">左浮动</div>
     <div id="div5">中部</div>
     <div id="div3">右浮动</div>
     <div id="div4">底部</div>
     


</div>
</body>
</html>
